package com.lzl.entity;

import java.util.List;

public class User {
    private int id;
    private int         roleId;
    private String loginName;
    private String         userName;
    private String password;
    private int         sex;
    private String identityCode;
    private String         email;
    private String mobile;
    private int         enabled;
    private String create_time;
    private String         update_time;
    private String roleName;
    private String fullLocation;
    private List<AddressParams> addressList;
    private List<Role> roleList;

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public List<AddressParams> getAddressList() {
        return addressList;
    }

    public void setAddressList(List<AddressParams> addressList) {
        this.addressList = addressList;
    }

    public User() {

    }

    public String getFullLocation() {
        return fullLocation;
    }

    public void setFullLocation(String fullLocation) {
        this.fullLocation = fullLocation;
    }

    public User(int roleId, String loginName, String userName, String password, int sex, String identityCode, String email, String mobile, int enabled) {
        this.roleId = roleId;
        this.loginName = loginName;
        this.userName = userName;
        this.password = password;
        this.sex = sex;
        this.identityCode = identityCode;
        this.email = email;
        this.mobile = mobile;
        this.enabled = enabled;
    }

    public User(int id, String userName, String roleName, int sex, String email, String mobile, int enabled) {
        this.id = id;
        this.userName = userName;
        this.sex = sex;
        this.email = email;
        this.mobile = mobile;
        this.enabled = enabled;
        this.roleName = roleName;
    }

    public User(int id, int roleId, String loginName, String userName, String password, int sex, String identityCode, String email, String mobile, int enabled, String create_time, String update_time) {
        this.id = id;
        this.roleId = roleId;
        this.loginName = loginName;
        this.userName = userName;
        this.password = password;
        this.sex = sex;
        this.identityCode = identityCode;
        this.email = email;
        this.mobile = mobile;
        this.enabled = enabled;
        this.create_time = create_time;
        this.update_time = update_time;
        this.roleName = roleName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public User(int id, int roleId, String loginName, String userName, String password, int sex, String identityCode, String email, String mobile, int enabled, String create_time, String update_time, String roleName) {
        this.id = id;
        this.roleId = roleId;
        this.loginName = loginName;
        this.userName = userName;
        this.password = password;
        this.sex = sex;
        this.identityCode = identityCode;
        this.email = email;
        this.mobile = mobile;
        this.enabled = enabled;
        this.create_time = create_time;
        this.update_time = update_time;
        this.roleName = roleName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getIdentityCode() {
        return identityCode;
    }

    public void setIdentityCode(String identityCode) {
        this.identityCode = identityCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getEnabled() {
        return enabled;
    }

    public void setEnabled(int enabled) {
        this.enabled = enabled;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
